<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/19
 * Time: 15:31
 */
namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class CommentModel extends Model
{
    protected $table = "xf_comment";
    public $timestamps = false;
    protected $fillable = [
        'id',
        'content',
        'article_id',
        'add_time',
        'user_id',
    ];

//    public function user()
//    {
//        return $this->hasOne(UserInfoModel::class, 'id', 'user_id');
//    }
}